package com.tbit.uqbike.object.pojo;

import com.tbit.uqbike.annos.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 用户参与活动奖励日志
 *
 * @Author:BUGTian
 * @DATE: 2022/5/19
 */
@Data
public class UserRewardLog {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 品牌id
     */
    private Integer accountId;

    /**
     * 区域id
     */
    private Integer adAccountId;

    /**
     * 赠送类型（优惠券、骑行卡等）
     */
    private Integer rewardType;

    /**
     * 奖励优惠id
     */
    private Integer rewardId;

    /**
     * 赠送数量
     */
    @Excel(name = "奖励数量", sort = 6)
    private Integer rewardNum;

    /**
     * 添加时间
     */
    @Excel(name = "获奖时间", sort = 3, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 奖励类型
     */
    private Integer type;

    /**
     * 活动id
     */
    private Integer eventId;

    /**
     * 活动类型
     */
    private Integer eventType;

    /**
     * 活动名称
     */
    @Excel(name = "活动名称", sort = 4)
    private String eventName;

    /**
     * 优惠券名称
     */
    @Excel(name = "领取的优惠券名称", sort = 5)
    private String rewardName;

    /**
     * 邀请用户名称
     */
    @Excel(name = "用户名称", sort = 1)
    private String inviteName;

    /**
     * 邀请用户手机号码
     */
    @Excel(name = "用户手机号", sort = 2)
    private String invitePhone;

    /**
     * 备注
     */
    private String remark;

}
